package com.dcbeida.activity.inventory;


import com.dcbeida.base.BasePresenter;
import com.dcbeida.base.BaseView;
import com.dcbeida.bean.DrugInfo;

/**
 * Created by hp on 2016/5/12.
 */
public interface InventoryContract {

    interface View extends BaseView<Present> {

        void setCount(int count);//赋值

        void showTip(String msg);

        void showP();

        void addItem(DrugInfo info);//添加盘点

        /**
         *
         * @param count 种类
         * @param quantity 数量
         */
        void setQuantity(int count,int quantity);

        /**
         * 盘点提交成功
         */
        void confimSuccess();

        void addItem(int pos, DrugInfo info, int head_pos, DrugInfo headInfo);
    }

    interface Present extends BasePresenter {

        void getAllInventoryCount();

        void getdrugcodeinfo(String drugcode);//获取药品监管码详细信息

        void addinventorydrugcodes(String drugcode);//获取药品监管码详细信息

        /**
         * 盘点-新增盘点记录
         *
         */
        void addInventory();

        boolean DrugIsEmpty();
    }
}
